/**
 * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springblade.modules.monitor.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author Blade
 * @since 2020-06-04
 */
@Data
@TableName("blade_t_knowleadge_attach")
@ApiModel(value = "KnowleadgeAttach对象", description = "KnowleadgeAttach对象")
public class KnowleadgeAttach implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 附件id
	 */
	@ApiModelProperty(value = "附件id")
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	 * 知识id
	 */

	@ApiModelProperty(value = "附件名称")
	private String attachName;

	@ApiModelProperty(value = "知识id")
	private Integer knowleadgeId;
	/**
	 * 附件类型 1、图片 2、其他
	 */
	@ApiModelProperty(value = "附件类型 1、图片 2、其他")
	private Integer type;
	/**
	 * 附件路径
	 */
	@ApiModelProperty(value = "附件路径")
	private String path;
	/**
	 * 上传时间
	 */
	@ApiModelProperty(value = "上传时间")
	private LocalDateTime createTime;


}
